package com.getpebble.android.notifications.model.apps;

import android.content.Context;
import com.getpebble.android.notifications.model.PblNotification;

public class WhatsAppNotificationExtractor extends NotificationExtractor {
    private static final String TAG = WhatsAppNotificationExtractor.class.getSimpleName();

    public WhatsAppNotificationExtractor(PblNotification pblNotification, Context context) {
        super(pblNotification, context);
    }

    protected void extractContent() {
        super.extractContent();
        if (this.mPblNotification != null && this.mPblNotification.getLastTextLine() != null) {
            this.mContent.notificationBody = this.mPblNotification.getLastTextLine();
        }
    }
}
